package br.com.felix.fwt.ui.css;


public class PointSize implements FontSize  {

    private static final long serialVersionUID = -761849221541866584L;

    /**
     * Size of the font measured in Points.
     * */
    private int pointSize;
    
	public PointSize(int pointSize){
		this.pointSize = pointSize;
	}
	
	public String toString(){
		return getCssSize();
	}
	
	@Override
	public String getCssSize() {
		return pointSize+"pt";
	}


	@Override
	public int getPointSize() {
		return pointSize;
	}
}
